<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>优惠搜-搜罗好东西|天猫淘宝优惠券</title>
        <include file="Index:header" />
        <!--<div class="top"></div>-->
        <div class="nav">
            <ul class="fenlei">
                <h3>商品分类</h3>
                <li>
                    <a href="__ROOT__/list-{$px}-0-1.html" title="全部商品">
                        全部商品
                    </a>
                </li>
                <li>
                    <a href="__ROOT__/list-{$px}-1-1.html" title="女装">
                        女装
                    </a>
                </li>
                <li>
                    <a href="__ROOT__/list-{$px}-9-1.html" title="男装">
                        男装
                    </a>
                </li>
                <li>
                    <a href="__ROOT__/list-{$px}-10-1.html" title="内衣">
                        内衣
                    </a>
                </li>
                <li>
                    <a href="__ROOT__/list-{$px}-2-1.html" title="母婴">
                        母婴
                    </a>
                </li>
                <li>
                    <a href="__ROOT__/list-{$px}-3-1.html" title="化妆品">
                        化妆品
                    </a>
                </li>
                <li>
                    <a href="__ROOT__/list-{$px}-4-1.html" title="居家">
                        居家
                    </a>
                </li>
                <li>
                    <a href="__ROOT__/list-{$px}-5-1.html" title="鞋包配饰">
                        鞋包配饰
                    </a>
                </li>
                <li>
                    <a href="__ROOT__/list-{$px}-6-1.html" title="美食">
                        美食
                    </a>
                </li>
                <li>
                    <a href="__ROOT__/list-{$px}-7-1.html" title="文体车品">
                        文体车品
                    </a>
                </li>
                <li>
                    <a href="__ROOT__/list-{$px}-8-1.html" title="数码">
                        数码
                    </a>
                </li>
                <div class='clear'></div>
            </ul>
            <ul class="paixu">
                <h3>排序</h3>
                <li>
                    <a href="__ROOT__/list-sell-{$cid}-{$page}.html" title="sell">
                        按销量
                    </a>
                </li>
                <li>
                    <a href="__ROOT__/list-t-{$cid}-{$page}.html" title="t">
                        按人气
                    </a>
                </li>
                <li>
                    <a href="__ROOT__/list-price-{$cid}-{$page}.html" title="price">
                        按价格
                    </a>
                </li>
                <li>
                    <a href="__ROOT__/list-latest-{$cid}-{$page}.html" title="latest">
                        按最新
                    </a>
                </li>
                <div class='clear'></div>
            </ul>
        </div>
        <div id="data">
            <volist name="json" id="vo">
                <div class='itmes'>
                    <a href='__ROOT__/read-{$vo.id}.html' target="_blank">
                        <div class='itme'>
                            <div class="itme_zhezhao write"></div>
                            <div class="img">
                                <img src='{$vo.img}'/>
                            </div>
                            <p class='title'>{$vo.title}</p>
                            <span class='center'><h3>{$vo.price}元</h3></span>
                            <div class='clear'></div>
                            
                            <span  class='quan left'>券{$vo.qprice}元</span>
                            <a href='__ROOT__/read-{$vo.id}.html' class='mai right'>立即购买</a>
                            <div class='clear'></div>
                        </div>
                    </a>
                </div>
            </volist> 
            
           <div class='clear'></div>
        </div>
        <div class="page">
            <ul>
                <!--<if condition="($page eq 1)">
                <elseif condition="($page eq 2)"/>
                    <li>
                        <a href="__ROOT__/list-{$px}-{$cid}-{$page-1}.html"> 第{$page-1}页</a>
                    </li>
                <else /> 
                    <li>
                        <a href="__ROOT__/list-{$px}-{$cid}-1.html"> 第1页</a> ***
                    </li>
                    <li>
                        <a href="__ROOT__/list-{$px}-{$cid}-{$page-1}.html"> 第{$page-1}页</a>
                    </li>
                </if>
                    <li>
                        <a class="now" href="__ROOT__/list-{$px}-{$cid}-{$page}.html"  disabled="disabled" class="now"> 第{$page}页</a>
                    </li>
                    <li>
                        <a href="__ROOT__/list-{$px}-{$cid}-{$page+1}.html">第{$page+1}页</a>
                    </li>
                    <li>
                        <a href="__ROOT__/list-{$px}-{$cid}-{$page+2}.html">第{$page+2}页</a>
                    </li>
                    <li>
                        <a href="__ROOT__/list-{$px}-{$cid}-{$page+3}.html">第{$page+3}页</a>
                    </li>-->
                 <div class='clear'></div>
            </ul>
        </div>

        <script>
            console.log("----------------I don't know where I am，just keep way----------");
            var page=<php>echo $page</php>;
            var r="l";
            var px="<php>echo $px</php>";
            var cid="<php>echo $cid</php>";
            var kw="";
            var fenlei=get_fenlei(cid);
            var px="<php>echo $px</php>";
            $(document).ready(function(){
               $("[title='"+fenlei+"']").css("color","red");
               $("[title='"+px+"']").css("color","red")
            });
            
             $(window).scroll(function(){loadmore($(this));});
        </script>
        <include file="Index:footer" />